package com.xxzx.publicprevention.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

@CrossOrigin
@Controller
public class SysController {

    @RequestMapping(value = "/index")
    public String index() {
        return "admin/index";
    }

    @RequestMapping(value = "/dingwei")
    public String dingwei() {
        return "admin/location";
    }

    @RequestMapping(value = "/analysis")
    public String fenxi() {
        return "admin/analysis";
    }

    @RequestMapping(value = "/records")
    public String records() {
        return "admin/records";
    }

    @RequestMapping(value = "/inspection")
    public String inspection() {
        return "admin/inspection";
    }

    @RequestMapping(value = "/account")
    public String account() {
        return "admin/account";
    }

    @RequestMapping(value = "/login")
    public String login() {
        return "admin/login";
    }

    @RequestMapping(value = "/map")
    public String map() {
        return "admin/map";
    }

    @RequestMapping(value = "/3Dmap")
    public String swmap() {
        return "admin/3Dmap";
    }

}

